HCaptcha\Main B

Total Complexity 82
Dependencies 112
Dependents 6
Total lines 1,331
Lines of code 901
Logical lines of code 168
Comment lines 298
Methods 27
Properties 7

Methods 27

Method Rating Maintainability Complexity Lines of code
load_modules()
D
15
9 506
print_footer_scripts()
A
47 7 36
is_elementor_pro_edit_page()
A
55 8 18
plugin_or_theme_active()
S
56 7 20
get_api_src()
S
50 6 28
csp_headers()
S
50 6 27
print_inline_styles()
S
45 1 80
activate_hcaptcha()
S
62 6 10
init_hooks()
S
47 2 38
whitelist_ip()
S
52 2 31
is_pro_or_general()
S
77 3 3
parse_csp()
S
62 2 11
login_head()
S
63 1 17
merge_csp()
S
63 2 10
get_api_url()
S
69 2 6
prefetch_hcaptcha_dns()
S
69 2 7
get_verify_url()
S
69 2 6
get_check_site_config_url()
S
69 2 6
declare_wc_compatibility()
S
72 2 5
is_xml_rpc()
S
79 2 3
init()
S
67 2 8
force_https()
S
71 1 5
is_pro()
S
80 1 3
settings()
S
82 1 3
load()
S
80 1 3
get()
S
79 1 3
load_textdomain()
S
68 1 8